home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_MagnifyingLens_Yellow < prev    next >
Encoding:
Text File  |  2003-06-06  |  1.7 KB  |  54 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A rectangular yellow gold frame',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Bound': (0.2525,0.0816667,0.765,0.923333), 
  15.         'Darkness': 33, 
  16.         'Defocus': 7, 
  17.         'Frame': {
  18.             'FrameColor': (172,146,0), 
  19.             'Material': App.Constants.LensFrameMaterial.Chrome, 
  20.             'Style': App.Constants.LensFrameShape.Circular, 
  21.             'Thickness': 11
  22.             }, 
  23.         'Illumination': {
  24.             'LightList': [{
  25.                 'LightColor': (225,209,123), 
  26.                 'LightDirection': (0.426249,0.447755,-0.78602), 
  27.                 'HighlightSize': 87
  28.                 }], 
  29.             'MaxAmbience': 64, 
  30.             'MinAmbience': 9
  31.             }, 
  32.         'LensSurface': {
  33.             'EnvironmentMap': {
  34.                 'Active': App.Constants.Boolean.false
  35.                 }, 
  36.             'Gloss': 13, 
  37.             'Magnification': 58, 
  38.             'LensMaterial': {
  39.                 'Color': (255,255,255), 
  40.                 'Pattern': None, 
  41.                 'Gradient': None, 
  42.                 'Texture': None
  43.                 }, 
  44.             'LensOpacity': 26, 
  45.             'Refraction': 13, 
  46.             'ShapeType': App.Constants.LensShape.VCylindrical, 
  47.             'Shininess': 0
  48.             }
  49.         }
  50.  
  51. def Do(Environment):
  52.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  53.  
  54.